package com.mrx.commons.model.dto;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 * @author Mr.X
 * @since 2024-01-04 14:32
 **/
@Data
@AllArgsConstructor(staticName = "of")
public class PageResult<T> {

    private final long currentPage;
    private final long pageSize;
    private final long totalPage;
    private final long totalCount;
    private final List<T> data;

}
